var URL = {
		"FRAMEWORK"     :
		{   
			"local"     : "http://localhost:8081/framework", 
		 	"dev"       : "http://47.107.88.35:8081/framework", //外网 
		/*	"dev"       : "http://172.16.12.224:8080",*/ //内网
			"sit"       : "http://127.0.0.1:8081/framework",
			"uat"       : "http://127.0.0.1:8081/framework",
			"prd"       : "http://127.0.0.1:8081/framework",
		},
		"WEB_FRAMEWORK" :
		{
		   "local"      : "http://localhost:8081",
		   "dev"        : "http://47.107.88.35:8081"
		},
		"WEBSOCKET" :{
			"local"     : "ws://localhost:8081/framework/", 
		 	"dev"       : "ws://47.107.88.35:8081/framework", //外网 
		/*	"dev"       : "http://172.16.12.224:8080",*/ //内网
			"sit"       : "http://127.0.0.1:8081/framework",
			"uat"       : "http://127.0.0.1:8081/framework",
			"prd"       : "http://127.0.0.1:8081/framework",
		}
     };

(function(window){   
	var domain = document.domain;
	if(domain=="localhost" || domain =="127.0.0.1"){
		URL.FRAMEWORK = URL.FRAMEWORK.local; 
		URL.WEB_FRAMEWORK = URL.WEB_FRAMEWORK.local;
		URL.WEBSOCKET = URL.WEBSOCKET.local;
	}else if(domain =="47.107.88.35"){
		URL.FRAMEWORK = URL.FRAMEWORK.dev;
		URL.WEB_FRAMEWORK = URL.WEB_FRAMEWORK.dev;
		URL.WEBSOCKET = URL.WEBSOCKET.dev;
	} 
})(window);